﻿using ERPSystem.Common.BaseEntitys;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.Domains.CustomerProfileCommon
{
    /// <summary>
    /// 省/市表
    /// </summary>
    [SugarTable("ProvinceCitys")]
    public class ProvinceCity : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsIdentity =true,IsPrimaryKey =true)]
        public int ProvinceCityId {  get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnDataType ="Nvarchar(50)",IsNullable =true)]  
        public string ProvinceCityName { get; set;}
        /// <summary>
        /// 父级iD
        /// </summary>
        public int PId {  get; set; }
    }
}
